package cn.yyh.servicePay.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 杨永航
 * @version 1.0
 * @Title: QuartzClient
 * @Package: cn.yyh.servicePay.client
 * @date 2021/7/11
 */
@FeignClient(name = "service-order")
@Component
public interface QuartzClient {

    @DeleteMapping("/serviceOrder/quartz/{jobName}")
    void deleteQuartz(@PathVariable("jobName") String jobName);
}
